import { http } from "@/utils/http";



type ListResult = {
  success: boolean;
  data?: {
    /** 列表数据 */
    list: Array<any>;
  };
};


export const getUserPost = (data?: object) => {
  return http.request<ListResult>("post", "/userPost/getUserPost", { data });
}
